-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add recursive structs supported #335
Conversation
* 'main' of github.com:RyougiNevermore/avro: add processing group
I'm not sure about the results of golangci-lint. any help? |
* origin/main: feat: move generic decoding to codec level (hamba#336) fix: linter issues # Conflicts: # config.go
TestEncoder_RecordMapNilValue passed
uhhh, if support disable cache mode, maybe use some one like ctx, and it will cost more performance, from 1400 ns/op up to 1700 ns/op in. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rebase and clean up. Seems a lot of stuff is left over or unused.
} | ||
|
||
type processingGroup struct { | ||
group *singleflight.Group |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not needed for the local option.
type encoderOfTypeHandler func(cfg *frozenConfig, p *processing, schema Schema, typ reflect2.Type) ValEncoder | ||
|
||
type processing struct { | ||
key []byte |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont get what this is used for?
@@ -0,0 +1,46 @@ | |||
// Package mmhash export runtime.memhash | |||
package mmhash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be unused.
Fixed by #413 |
just use processing cache, and no performance loss.